﻿<controls:ChildWindow 
    x:Class="ibba.src.noriskbo.PageExportacaoPortfolio"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:slc="clr-namespace:ibba.src.sl.componentes;assembly=ibba.src.sl.componentes"
    xmlns:slrv="clr-namespace:ibba.src.sl.recursos.Validations;assembly=ibba.src.sl.recursos"
    Width="Auto" Height="Auto" 
    FontSize="10.667" 
    Style="{StaticResource ChildWindowStyle}"
    Title="Exportação de Portfólio">

            <Grid x:Name="LayoutRoot" Margin="2">
                <toolkit:BusyIndicator x:Name="activity">
                    <Grid Name="gridCampos">
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>

                        <slrv:ValidationManager x:Name="validatorManager" />

                        <slc:ControlMenuBar x:Name="barraMenu" Grid.Row="1" VerticalAlignment="Bottom" BorderRadius="15,0,15,0" 
                                    Margin="0,10,0,0" VisibilityUserPanel="Collapsed" Background="{StaticResource BlueStrong}"/>

                        <StackPanel Orientation="Vertical" Grid.Row="0">

                            <StackPanel Orientation="Horizontal" Margin="9" HorizontalAlignment="Center">
                                <TextBlock Text="Informe a data de vigência que deseja exportar." Width="300" FontSize="12" Foreground="#FFE78E21" VerticalAlignment="Center" HorizontalAlignment="Center" />
                            </StackPanel>

                            <StackPanel Orientation="Horizontal" Margin="100,0" HorizontalAlignment="Center">
                                <TextBlock Text="Data:" Width="40" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                                    <sdk:DatePicker x:Name="dpDtBase" Width="130"
                                        KeyUp="dpDtBase_KeyUp"
                                        SelectedDateChanged="dpDtBase_SelectedDateChanged"
                                        HorizontalAlignment="Center" 
                                        VerticalAlignment="Center" />
                            </StackPanel>

                            <!--<StackPanel Orientation="Horizontal" Margin="3">
                                <Border Background="#FFEBE8E8" HorizontalAlignment="Left" Padding="2" BorderBrush="Gray" BorderThickness="1"></Border>
                            </StackPanel>-->

                        </StackPanel>

                    </Grid>

                </toolkit:BusyIndicator>
                
            </Grid>
    
</controls:ChildWindow>